package com.mj.haier.rrskx.repository;

import com.mj.haier.rrskx.domain.BdSwitcher;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;

import java.util.Optional;


/**
 * Spring Data  repository for the BdSwitcher entity.
 */
@SuppressWarnings("unused")
@Repository
public interface BdSwitcherRepository extends JpaRepository<BdSwitcher, String> {

    Optional<BdSwitcher> findBySwitcherValue(String switcherValue);

    void deleteBySwitcherValue(String switcherValue);
}
